"""存储元素文件夹"""

mall_xpath_dict = {

    # 搜索
    'Search_box':'//*/input[@id="step2"]',
    #搜索的文本
    'txt':'北京同仁堂怡福寿黄芪党参麦冬西洋参60g/盒',
    #点击搜索按钮
    'Search button':'//*/button[@class="ant-btn ant-btn-primary ant-input-search-button"]',
    #点击商品
    'txt_box': '//*[@id="app"]/div[3]/div/div/div[3]/div/div/div/a/div[2]',
    # 加入进货单
    'Add_to_cart':'//*[@id="app"]/div[5]/div[2]/div[4]/div[2]/div[9]/div[1]',
    #
    # 'Assertion':'//*[@id="ant-message"]/span/div/div/div[1]/span'
}

def get_mall_xpath(name):
    return mall_xpath_dict[name]